var requirejs = engine.requirejs,
    require = engine.require,
    ArrayList = Java.type("java.util.ArrayList"),
    AppInfo = Java.type("com.gitee.fantaros.web.fanstart.bean.AppInfo"),
    Apps = new ArrayList();

requirejs("frp");

function main() {
    slog.info("test from js {}", Apps);
    return true;
}